<extend name="Public:base"/>
<block name="title"> 武汉同兴一站办企业服务有限公司 管理中心 - 添加分类 </block>

<block name="header">
    <span class="action-span"><a href="#">编辑</a></span>
    <span class="action-span1"><a href="#">武汉同兴一站办企业服务有限公司 管理中心</a></span>
    <span id="search_id" class="action-span1"> - 编辑用户 </span>
    <div style="clear:both"></div>
</block>
<block name="body">

    <form action="{:U('UserAdd/edit')}" method="post" name="theForm" enctype="multipart/form-data">
        <table width="100%" id="general-table">
            <tr>
                <td class="label">收货地址ID:</td>
                <td>
                    <input type="hidden" name="address_id" value="{$info.address_id}">
                    <input type='text' name='address_id' maxlength="20" value="{$info.address_id}" size='27' disabled="disabled"/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">地区ID:</td>
                <td>
                    <input type='text' name='region_id' maxlength="20" value="{$info.region_id}" size='27' disabled="disabled"/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">收货地址:</td>
                <td>
                    <input type='text' name='address' maxlength="20" value="{$info.address}" size='27' /> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">联系人:</td>
                <td>
                    <input type='text' name="contacts" value="{$info.contacts}" width="80px"/>
                </td>
            </tr>
            <tr>
                <td class="label">手机号:</td>
                <td>
                    <input type='text' name="phone" value="{$info.phone}" width="80px"/>
                </td>
            </tr>

            <tr>
                <td class="label">是否默认</td>
                <td>
                    <select name="is_default">
                        <option value="0" <if condition="$info.is_default eq 0">selected</if>>不是</option>
                        <option value="1" <if condition="$info.is_default eq 1">selected</if>>是</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="label">状态</td>
                <td>
                    <select name="state">
                        <option value="0" <if condition="$info.state eq 0">selected</if>>已删除</option>
                        <option value="1" <if condition="$info.state eq 1">selected</if>>正常</option>
                    </select>
                </td>
            </tr>

        </table>
        <div class="button-div">

            <input type="submit" value=" 确定 " />
        </div>
    </form>
</block>
